/* pages/ticket/get/get.wxss */
.p-get {
    min-height: 100vh;
    background: #005fec;
    padding-bottom: 80rpx;
    .top {
        position: relative;

        .banner-wrap {
            width: 100%;
            text-align: center;
            position: relative;
            margin-bottom: 5%;
            .banner image {
                width: 100%;
                height: 817rpx;
            }

            .sub-title {
                padding: 0 4%;
                color: #fff;
                line-height: 2;
                border: 1px solid #e5bc4a;
                background-color: #ff7936;
                border-radius: 999px;
                display: inline-block;
                position: absolute;
                top: 38%;
                left: 50%;
                transform: translateX(-50%);
                -webkit-transform: translateX(-50%);
            }
        }

        .go {
            position: absolute;
            bottom: -3%;
            right: 3%;

            image {
                width: 132rpx;
                height: 146rpx;
            }
        }
    }

    .tickets {
        padding-top: 25rpx;

        .ticket {
            width: 649rpx;
            height: 217rpx;
            padding-bottom: 2%;
            color: #68abf8;
            margin: 0 auto 6%;
            background: url(/assets/ticketGet/ticket_bg.png) no-repeat;
            background-size: 100% 100%;
            border-radius: 20rpx;
            display: flex;

            .left {
                width: 79%;
                font-size: 20rpx;
                line-height: 1.5;
                padding: 35rpx 0 20rpx 30rpx;
                position: relative;

                .name {
                    font-size: 30rpx;
                    color: #f96b0c;
                    margin-bottom: 15rpx;

                    .strong {
                        line-height: 1;
                        margin-right: 10rpx;
                        font-size: 50rpx;
                    }
                }

                .address {
                    height: 49rpx;
                    line-height: 49rpx;
                    color: #0747a7;
                    padding-right: 15rpx;
                    font-size: 18rpx;
                    position: absolute;
                    bottom: 0;
                    left: 30rpx;
                }
            }

            .right {
                width: 21%;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 30rpx;
                color: #fff;

                .get {
                    letter-spacing: 1px;
                    padding: 12rpx 32rpx;
                    line-height: 1.25;

                }
                &.got {
                    opacity: .5;
                    padding: 12rpx 0;
                }

                .none {
                    text-align: center;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    padding: 8rpx 0 0px;

                    .dark {
                        padding: 0 20rpx;
                        font-size: 28rpx;
                        letter-spacing: 1px;
                        line-height: 1.25;
                        color: #fff;
                        margin-bottom: 8rpx;
                    }

                    .light {
                        font-size: 18rpx;
                        line-height: 1.5;
                        color: rgb(0, 76, 189);
                    }
                }
            }
        }
    }

    .rules {
        width: 86%;
        color: #fbf6c2;
        margin: 100rpx auto 0;
        padding: 55rpx 40rpx 50rpx;
        line-height: 1.8;
        font-size: 24rpx;
        border: 1px dashed #fbf6c2;
        position: relative;

        .title {
            image {
                width: 166rpx;
                height: 68rpx;
                position: absolute;
                left: 50%;
                top: -32rpx;
                transform: translateX(-50%);
                -webkit-transform: translateX(-50%);
            }
        }
    }
}

.layer {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    left: 0;

    .heart {
        width: 750rpx;
        height: 508rpx;
        text-align: center;
        background: #5da6fa;
        position: absolute;
        top: 50%;
        left: 50%;
        padding: 15% 13% 3.5% 14%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        background: url(/assets/ticketGet/layer_bg.png) no-repeat;
        background-size: 100% 100%;

        .heart-inner {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .close {
            position: absolute;
            top: -10%;
            right: 10%;
        }

        .title {
            width: 315rpx;
            height: 54rpx;
            margin: 0 auto;
            background: url(/assets/ticketGet/title.png) no-repeat;
            background-size: 315rpx 55rpx;
        }

        .amount {
            margin: 20rpx auto 45rpx;
            font-size: 45rpx;
            color: #fff;
            padding-top: 2%;

            text {
                margin-left: 5rpx;
                font-size: 100rpx;
            }
        }

        .type {
            width: 300rpx;
            margin: 0 auto;
            color: #f77925;
            border-top: 1px solid #f77925;
            position: relative;

            text {
                width: 165rpx;
                background: linear-gradient(to bottom, #1985d1, #2680ce);
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                -webkit-transform: translate(-50%, -50%);
            }
        }

        .btn {
            width: 100%;
            font-size: 32rpx;
            letter-spacing: 2px;
            height: 80rpx;
            line-height: 80rpx;
            color: #fff;
            position: absolute;
            bottom: 0;
            left: 0;
        }
    }
}